IT254 COMPUTER ARCHITECTURE AND MICROPROCESSOR INTERFACING

Subject Cordinator: - Dr. Parth Shah

Subject Name: - COMPUTER ARCHITECTURE AND MICROPROCESSOR INTERFACING

Semester: - 4





PRACTICAL LIST
1
A. Write a python program to sum of the first n positive integers. Note n will be defined by user.
B. Write a Python program to find factorial of any number defined by user.
2 A. Write a Python program to calculate the hypotenuse of a right angled triangle.
B. Write a Python program to calculate the sum of the digits in an integer.
3
A. Write a Python program to find number of prime numbers between 1 to n where n is defined by user.
B. Write a Python program to test whether a passed letter is a vowel or not usingvowel (character) function.
4 Getting Familiar with Raspberry Pi
5 4 LEDs are Interfaced with Raspberry Pi. Develop a python script for Raspberry Pi toblink all LEDs with specific Time Interval.
6 Push Buttons (4 Nos.) and LEDs (4 Nos.) are Interfaced with Raspberry Pi. Develop a python script for Raspberry Pi to turn on & off LED with respect to the switch (Button pressed, LED ON & Button Released, LED OFF)
7 Single LED is interfaced with Raspberry Pi. Develop a python script for Raspberry Pi to control the brightness of LED using PWM
8 A. Common Cathode Seven Segment (1 No.) is interfaced with Raspberry Pi Board. Write a Python Script to generate counter of 0 to 9 on Seven segment display with Specific Time Interval.
B. Common Cathode Seven Segment (2 No.) is interfaced with Raspberry Pi Board. Write a Python Script to generate counter of 00 to 99 on Seven segment display withSpecific Time Interval.
9 Introduction to ARM7 Based Microcontroller LPC2148 and IDE (MDK-ARM) software.
10 Write a program to interface LPC2148 with 8 LEDs, Turn on and turn off leds in even odd pattern with specific interval.(10101010  01010101)
11 Write a program to interface LPC2148 with (1 Nos) 7 segment, generate counter of 0 to 9 on Seven segment display with Specific Time Interval.
12 Write a program to glow leds with its priority with the help of switches (4 LED, 4 Switch) using LPC2148.